package com.chipcoo.domain.rest;

import org.dom4j.DocumentException;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

@Controller
@RequestMapping("/rest/wxmp")
public class WXController {
    @RequestMapping(method = {RequestMethod.GET})
    public @ResponseBody
    String authGet(@RequestParam("signature") String signature,
                   @RequestParam("timestamp") String timestamp,
                   @RequestParam("nonce") String nonce,
                   @RequestParam("echostr") String echostr) {

        return null;
    }

    @RequestMapping(method = RequestMethod.POST)
    public @ResponseBody
    String post(@RequestBody String requestBody) throws DocumentException {


        return  null;
    }

}
